package com.yusj.consumer.web;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

@Component
public class HelloProducerRemoteHystrix implements HelloProducerRemote {

	@Override
	public String helloProducer(@RequestParam(value = "name") String name) {
		return "cunsumer -> hello " +name+", this messge send failed ";
	}

}
